package com.web.farme.config;

import lombok.Data;

import java.util.Map;

@Data
public class DynamicSourceConfig extends DataSourceConfig{

    private String primary;

    private boolean strict;

    private Map<String, DataSourceConfig> datasource;

    @Override
    public String getConfigKey() {
        return "spring.datasource.dynamic.datasource";
    }
}
